/**
 * Company : Thai Informatic System Co., Ltd.
 * Created By : Dr.Tree
 * Created On : Jun 16, 2012  5:51:02 PM 
 * e-Mail : chatree@tis.co.th
 * Mobile Phone : (+66) 087-921-5115
 * Package Name : jpa.entitys.common
 * File Name : RcvdNoPaymentType.java
 * TODO
 */
package jpa.entitys.common;

import org.apache.log4j.Logger;

/**
 * @author chatree
 *
 */
public class RcvdNoPaymentType {	
	
	private static final Logger log = Logger.getLogger(RcvdNoPaymentType.class);
	
	private String company;
	private String sap_company_code;
	private String project;
	private String from_project;
	private String from_sap_plant_code;
	private String from_building_phase_code;
	private String from_floor_zone_code;
	private String from_unit_number;
	private String ref_doc_no;
	/**
	 * @return the company
	 */
	public String getCompany() {
		return company;
	}
	/**
	 * @param company the company to set
	 */
	public void setCompany(String company) {
		this.company = company;
	}
	/**
	 * @return the sap_company_code
	 */
	public String getSap_company_code() {
		return sap_company_code;
	}
	/**
	 * @param sap_company_code the sap_company_code to set
	 */
	public void setSap_company_code(String sap_company_code) {
		this.sap_company_code = sap_company_code;
	}
	/**
	 * @return the project
	 */
	public String getProject() {
		return project;
	}
	/**
	 * @param project the project to set
	 */
	public void setProject(String project) {
		this.project = project;
	}
	/**
	 * @return the from_project
	 */
	public String getFrom_project() {
		return from_project;
	}
	/**
	 * @param from_project the from_project to set
	 */
	public void setFrom_project(String from_project) {
		this.from_project = from_project;
	}
	/**
	 * @return the from_sap_plant_code
	 */
	public String getFrom_sap_plant_code() {
		return from_sap_plant_code;
	}
	/**
	 * @param from_sap_plant_code the from_sap_plant_code to set
	 */
	public void setFrom_sap_plant_code(String from_sap_plant_code) {
		this.from_sap_plant_code = from_sap_plant_code;
	}
	/**
	 * @return the from_building_phase_code
	 */
	public String getFrom_building_phase_code() {
		return from_building_phase_code;
	}
	/**
	 * @param from_building_phase_code the from_building_phase_code to set
	 */
	public void setFrom_building_phase_code(String from_building_phase_code) {
		this.from_building_phase_code = from_building_phase_code;
	}
	/**
	 * @return the from_floor_zone_code
	 */
	public String getFrom_floor_zone_code() {
		return from_floor_zone_code;
	}
	/**
	 * @param from_floor_zone_code the from_floor_zone_code to set
	 */
	public void setFrom_floor_zone_code(String from_floor_zone_code) {
		this.from_floor_zone_code = from_floor_zone_code;
	}
	/**
	 * @return the from_unit_number
	 */
	public String getFrom_unit_number() {
		return from_unit_number;
	}
	/**
	 * @param from_unit_number the from_unit_number to set
	 */
	public void setFrom_unit_number(String from_unit_number) {
		this.from_unit_number = from_unit_number;
	}
	/**
	 * @return the ref_doc_no
	 */
	public String getRef_doc_no() {
		return ref_doc_no;
	}
	/**
	 * @param ref_doc_no the ref_doc_no to set
	 */
	public void setRef_doc_no(String ref_doc_no) {
		this.ref_doc_no = ref_doc_no;
	}
	
	public String toString1() throws Exception {
		String temp = "";
		try{
			
			temp += "company = " + this.company + ",";
			temp += "sap_company_code = " + this.sap_company_code + ",";
			temp += "project = " + this.project + ",";
			temp += "from_sap_plant_code = " + this.from_sap_plant_code + ",";
			temp += "from_building_phase_code = " + this.from_building_phase_code + ",";
			temp += "from_floor_zone_code = " + this.from_floor_zone_code + ",";
			temp += "from_unit_number = " + this.from_unit_number + ",";
			temp += "ref_doc_no = " + this.ref_doc_no + "";
			
		}catch(Exception e){
			log.error(e.getMessage());
			System.err.println(e.getMessage());
			throw e;
		}
		return temp;
		
	}
	

}
